# !/usr/bin/env python
# -*-coding:utf-8 -*-

"""
# File       : plugin_manager.py
# Time       ：2023/10/28 15:30
# Author     ：YangYong
# version    ：python 3.10
# Description：插件管理
"""
from public.base_model import Base, db


class PluginManager(Base):
    __tablename__ = 'plugin_manager'

    model_name = db.Column(db.String(128), unique=True, comment='插件模型名称')
    file_name = db.Column(db.String(128), comment='插件文件名')
    desc = db.Column(db.String(255), comment='插件描述')
    enable = db.Column(db.Boolean, default=False, comment='是否启用')
